package org.linlinjava.litemall.admin.controller.cashsettlement;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.linlinjava.litemall.admin.util.DateUtil;
import org.linlinjava.litemall.core.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@ApiModel("金额差异分页查询参数")
public class AmountDifferencePageReqVO extends PageParam {

    @ApiModelProperty("门店ID")
    private Integer shopId;

    @ApiModelProperty("用户ID")
    private Integer adminId;

    @ApiModelProperty("启用状态（1=启用，0=禁用）")
    private Integer enabled;

    @ApiModelProperty("开始时间")
    @DateTimeFormat(pattern = DateUtil.YYYY_MM_DD_HH_MM_SS)
    private LocalDateTime[] createTime;


}